package com.battle.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import lombok.Data;
import nirvana.core.domains.ann.AccEntity;
import nirvana.core.domains.entity.DomainBaseEntity;
import nirvana.core.domains.enums.EntityType;

import java.time.LocalDate;

/**
 * @author anni.zhu
 * @author anni.zhu@king-v.com
 * Created in 2024/10/10 14:25
 * 战术
 */
@Data
@TableName(value = "TACTICS",autoResultMap = true)
@Entity(name = "TACTICS")
@AccEntity(value = "战术", type = EntityType.SERVICE_ENTITY)
public class Tactics extends DomainBaseEntity<Tactics> {
        /**
         * 学习次数
         */
        @Column()
        private Integer studyNumber;

        /**
        * 战术名称
        */
        @Column()
        private String tacticsName;

        /**
        * 战术描述
        */
        @Column()
        private String tacticsDesc;

        /**
        * 战术类型id
        */
        @Column()
        private Long tacticsTypeId;

        /**
         * 制作单位id
         */
        @Column()
        private Long organizationId;

        /**
         * 战术文件
         */
        @Column()
        private String fileUrl;

        /**
         * 战术封面
         */
        @Column()
        private String coverUrl;
}
